<template>
    <div>{{meetingDate.meetingTime}}</div>
</template>


<script>

// import {} from '../../api/api'
  export default {
    data() {
      return {
        meetingDate:{
            meetingTime: "",
        }
      };
    },
    created() {
        this.gatdata()
    },
    methods: {
        gatdata(){
            const myDate = new Date();
            const tt = myDate.getFullYear() + '-' + (this.zeroize(myDate.getMonth() + 1)) + '-' + this.zeroize(myDate.getDate())
            console.log(tt)
        },
        zeroize(obj) {
          if (obj < 10) {
              return '0' + obj
            } else {
              return obj
            }
        }
    }
  };
</script>




